package com.employees.dao;

import java.util.List;

import com.employees.bean.Employee;
import com.employees.bean.Employeeinfo;
import com.employees.bean.Pager;

public interface EmployeeDao {
	
	public Employee getEmployee(String no,String name);
	
	public List findAllEmployee();
	
	public void addEmployee(Object employee);
	
	public String  getHql(String name,String depart,String sex);
	
	public void updateEmployee(Object employee);
	
	public String returnString(String hql);
	
	public void deleteEmployee(Object employee);
	
	public Employeeinfo getImage(int id);
	
	//分頁
	
	public int getRows();

	public List findWithPage(Pager pager,String hql);
	
}
